ReplicateLayer
ReplicateLayer[n] represents a net layer that takes an input of dimensions {d1,d2,…} and replicates it n times to produce an output of dimensions {n,d1,d2,…}.
ReplicateLayer[{n1,n2,…,nm}] represents a net layer that takes an input of dimensions {d1,d2,…} and replicates it to produce an output of dimensions {n1,n2,…,nm,d1,d2,…}.
ReplicateLayer[dims,m] replicates so that dims appears at position m in the list of output dimensions.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.